// Listing 17.7 -Using getline()
#include <iostream>
using namespace std;

int main(void)
{
    char stringOne[256];
    char stringTwo[256];
    char stringThree[256];

    cout << "Enter stringOne: ";
    cin.getline(stringOne, 256);
    cout << "stringOne: " << stringOne << endl;

    cout << "Enter stringTwo: ";
    cin.getline(stringTwo, 256);
    cout << "stringTwo: " << stringTwo << endl;

    cout << "Enter stringThree: " << endl;
    cin.getline(stringThree, 256);
    cout << "stringThree: " << stringThree << endl;
}